package com.yearner.reviewplan.common.util;

/**
 * 路径工具类
 */
public class PathUtil {
    private static String seperator = System.getProperty("file.separator");
    public static String getImageBaseUrl() {

        String os = System.getProperty("os.name");
        String basePath = "";
        if (os.startsWith("win")) {
            basePath = "D:/projected/image";
        } else {
            basePath = "/home/beiyu/image";
        }
        basePath = basePath.replace("/", seperator);
        return basePath;
    }
}
